<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">

<p:column id="col_acoes" style="min-width:200px;">

	<f:facet name="header">
		<h:outputText value="#{i18n['colAcao']}" />
	</f:facet>

	<h:panelGroup id="panelAcoesPadrao"
		rendered="#{pManagedBean.isExibirAcoesPadrao}">

		<p:commandLink id="btnEditar" title="#{i18n['colAcao.editar']}"
			action="#{pManagedBean.showEditar}" ajax="false" process="btnEditar">
			<p:graphicImage library="imagens" name="icon_acao_editar.png"
				styleClass="btnAcaoPequeno" />
			<f:setPropertyActionListener
				target="#{pManagedBean.objetoPrincipalSelecionado}" value="#{item}" />
		</p:commandLink>

		<p:commandLink title="#{i18n['colAcao.detalhar']}"
			action="#{pManagedBean.showDetalhar}" ajax="false">
			<p:graphicImage library="imagens" name="icon_acao_visualizar.png"
				styleClass="btnAcaoPequeno" />
			<f:setPropertyActionListener
				target="#{pManagedBean.objetoPrincipalSelecionado}" value="#{item}" />
		</p:commandLink>

		<p:commandLink id="btnexcluir" title="#{i18n['colAcao.excluir']}"
			onclick="PF('confirmacaoExcluir').show();">
			<p:graphicImage library="imagens" name="icon_acao_excluir.png"
				styleClass="btnAcaoPequeno" />
			<f:setPropertyActionListener value="#{item}"
				target="#{pManagedBean.objetoPrincipalSelecionado}" />
		</p:commandLink>
	</h:panelGroup>

	<ui:insert name="demaisAcoes"></ui:insert>


</p:column>

</html>